﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Objectware.Silverlight.Testing.Runner.Console
{
	class Program
	{
		[STAThread]
		static void Main(string[] args)
		{
			var harness = new TestHarness(@"C:\Users\einar.ingebrigtsen\Documents\Visual Studio 2008\Projects\TestProject\TestProject\Bin\Debug\TestProject.xap");
			harness.MethodsToTest.Add("TestProject.TestClass.TestMethod");

			System.Console.WriteLine("Hook up subscription");
			ResultsManager.Instance.SubscribeToResult("Test","TestMethod",
				(r)=> System.Console.WriteLine("HEllo world"));


			ExecutionManager.Instance.Run(harness);

		}
	}
}
